import { defHttp } from '@/utils/http/axios'

enum Api {
  GET_CHART_DATA = '/chart/compareBarChart',
  GET_TABLE_DATA = '/chart/compareChartReport',
}

export const getChartData = (data) => defHttp.post({ url: Api.GET_CHART_DATA, data })
export const getTableData = (data) => defHttp.post({ url: Api.GET_TABLE_DATA, data })
